package com.learning.javaweb_springboot_page_query.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
public class User {
    private int id;
    private String password;


    //自建，用来描述用户有多少个订单
    @TableField(exist = false)
    private List<Order> orders;
}
